<?php

namespace App\Model\Order;

use Illuminate\Database\Eloquent\Model;

class UserOrder extends Model
{
    protected $table = 'order_userorder';
    protected $fillable = [
        'order_price', 'history_meal_supplement_balance', 'uid'
    ];

    public function MealSupplementBalances()
    {
        return $this->belongsTo('App\Model\Order\MealSupplementBalance', 'meal_supplement_balance_id', 'id');
    }
}
